home comics writing pictures archive about

DataView.xaml

Language: Extensible Application Markup Language
Last Modified: 2020-06-27 1:58:33 PM UTC
File Size: 1327 bytes
http://www.penguinstew.ca/example/dataviewer/View/DataView.xaml
<view:WindowViewBase x:Class="DataViewer.View.DataView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:view="clr-namespace:Penguin.MVVMBase.ViewBase;assembly=Penguin.MVVMBase"
Title="Bugeter DataViewer" Height="350" Width="525" MinWidth="250" MinHeight="150" >
<Grid>
<!-- Table selector -->
<ComboBox Height="23" Width="120" Margin="60,12,0,0"
HorizontalAlignment="Left" VerticalAlignment="Top"
ItemsSource="{Binding TableList}"
SelectedItem="{Binding SelectedTable}"/>
<!-- Table selector label -->
<TextBlock Height="23" Margin="12,12,0,0"
HorizontalAlignment="Left" VerticalAlignment="Top"
Text="Table" />
<!-- Open Server selector -->
<Button Height="23" Margin="0,12,12,0"
HorizontalAlignment="Right" VerticalAlignment="Top"
Content="Select Server"
Command="{Binding OpenCommand}" />
<!-- Table viewer -->
<ListView Margin="12,41,12,12"
View="{Binding DataGridView}"
ItemsSource="{Binding DataList}" />
</Grid>
</view:WindowViewBase>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26